// @description 学员资料修改
// @author 冯世玉
// @date 2018-5-14

import axios from "../index.js"

var studentDatamodify= {
    // 账户信息修改
	saccountModify:function(data,success,failure){
		  return axios.postJson("/student/accountModify",data,success,failure);
    },
    // 密码修改
    pwdModify:function(data,success,failure){
		  return axios.postJson("/student/pwdModify",data,success,failure);
    },
    // 头像修改
    uploadPicture:function(data,success,failure){
		  return axios.post("/student/uploadPicture",data,success,failure);
    },
    // 发送验证码
    sendMobileCode:function(data,success,failure){
		  return axios.postJson("/student/sendMobileCode",data,success,failure);
    },
    // 修改手机号
    mobileModify:function(data,success,failure){
		  return axios.post("/student/mobileModify",data,success,failure);
    },
    
}

export default studentDatamodify